import instance from '@/utils/axios.js'

// 3.封装接口
function userLogin({ mobile, code }) {
    return instance({
        url: '/v1_0/authorizations',
        method: 'post',
        data: {
            mobile,
            code,
        }
    })

}

//4.导出接口
export { userLogin }